
module DesignCasesHelper

  def get_case_first_img design_case
    attachments = design_case.design_case_attachments
    if attachments.present?
      image_tag attachments.first.image_url
    else
      image_tag 'new-home/cuxiao-1.png'
    end
  end

end
